#ifndef __DESIGNERBRIDGEW_H_
#define __DESIGNERBRIDGEW_H_

#include <QtGui/QWidget>

class DesignerBridgeW : public QWidget
{
    Q_OBJECT
    Q_CLASSINFO("ClassID", "{c86bd1be-4dce-4006-9ad1-445e3de67dd0}")
    Q_CLASSINFO("InterfaceID", "{0f4ca337-5786-4719-9155-abe73b1a7ec7}")
    Q_CLASSINFO("EventsID", "{c4cbbfef-93d6-43d4-8904-a4dc2040d06b}")

public:
    DesignerBridgeW(QWidget *parent = 0);


public Q_SLOTS:
    QString pluginFailureString() const;
    void setPluginPath(const QString &pluginPath);
    bool initializeJambiPlugins(const QString &jambiBase, const QString &jambiPluginPath, const QString &customWidgetClassPath, const QString &resourcePath, const QString &jvm);
    void initialize();
    void updateCustomWidgetLocation(const QString &path);

private:
    bool m_initialized;
};

#endif //__DESIGNERBRIDGEW_H_
